<!DOCTYPE html>
<html>

	<head>
		<title>{$post_title} - {$site_name} </title>
		<meta name="keywords" content="{$site_seo_keywords}" />
		<meta name="description" content="{$site_seo_description}">
		<tc_include file="Public:head" />
	</head>

	<body>
		<tc_include file="Public:nav" />
		<div class="" style="min-height: 562px;">
			<img class="am-g am-animation-fade am-img-responsive index-bg" src="__TMPL__Public/images/bg.jpg" id="index-bg" />
		</div>
		<div class="article-container am-container">
			<div class="breadcrumb am-g">
				<ol class="am-breadcrumb">
					<php>
						$cid = (int)$_GET['cid'];
						$father = sp_get_breadcrumb($cid)[0]['name'];
						$name = sp_get_term($cid)['name'];
					</php>
					<li>
						<a href="/" class="am-icon-home am-icon-sm">首页</a>
					</li>
					<li>
						<a href="{:leuu('portal/list/index',array('id'=>$cid))}">{$father}</a>
					</li>
					<li class="am-active">{$name}</li>
				</ol>
			</div>
				<article class="am-article">
					<div class="am-article-hd">
						<h1 class="am-article-title">{$post_title}</h1>
						<p class="am-article-meta">{$user_nicename|default=$user_login}&nbsp;&nbsp;{$post_date} </p>
					</div>

					<div class="am-article-bd">
						<p class="am-article-lead">{$post_excerpt}</p>
						{$post_content}
						<if condition="!empty($post_source)">
							<blockquote>
								<p>
									注：本文转载自{$post_source}，转载目的在于传递更多信息，并不代表本站支持其观点及对其真实性负责。如有侵权行为，请联系我们，我们会及时删除。
								</p>
							</blockquote>
						</if>
						<hr class="am-article-divider">
						 <script type="text/javascript" src="__TMPL__Public/assets/js/qrcode.min.js"></script>
                    <div id="qrcode" style="width: 100px;margin:0 auto"></div>
    					<script type="text/javascript">
                        var qrcode = new QRCode(document.getElementById("qrcode"), {
                        width : 100,
                        height : 100
                        });
                        function makeCode () {		
                        qrcode.makeCode("http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
                        }
                        makeCode();
                        </script>
					<div class="clearfix"></div>
					</div>
				</article>

		</div>
		<tc_include file="Public:footer" />

</html>